<%@ Page Language="C#" MasterPageFile="~/iPhone.Master" AutoEventWireup="true" CodeBehind="ViewMessage.aspx.cs"
	Inherits="iPhOwa.Web.ViewMessage" Title="" EnableViewState="false"
	ValidateRequest="false" %>

<asp:Content ID="c" ContentPlaceHolderID="c" runat="server">
	<iwc:ClickablePanel runat="server" ID="backPanel" Visible="false" CssClass="bodyDiv">
		<asp:Image runat="server" ID="folderImage" ImageUrl="~/Images/parent.gif" CssClass="middle" />
		Back to
		<asp:Label runat="server" ID="parentNameLabel" />
	</iwc:ClickablePanel>
	<div class="itemRow">
		<asp:HyperLink runat="server" ID="replyLink" CssClass="menu">
			<asp:Image runat="server" ID="replyImage" ImageUrl="~/Images/icon-msg-reply.gif"
				CssClass="middle" />
			Reply
		</asp:HyperLink>
		<asp:HyperLink runat="server" ID="replyAllLink" CssClass="menu">
			<asp:Image runat="server" ID="replyAllImage" ImageUrl="~/Images/replyall.gif" CssClass="middle" />
			Reply All
		</asp:HyperLink>
		<asp:HyperLink runat="server" ID="forwardLink" CssClass="menu">
			<asp:Image runat="server" ID="forwardImage" ImageUrl="~/Images/icon-msg-forward.gif"
				CssClass="middle" />
			Forward
		</asp:HyperLink>
		<asp:LinkButton runat="server" ID="deleteLink" OnClick="DeleteLink_Click" CssClass="menu">
			<asp:Image runat="server" ID="deleteImage" ImageUrl="~/Images/delete.gif" CssClass="middle" />
			Delete
		</asp:LinkButton>
	</div>
	<div class="itemRow">
		<table cellpadding="0" cellspacing="0">
			<tr>
				<th>
					From:
				</th>
				<td>
					<asp:Label ID="fromLabel" runat="server" />
				</td>
			</tr>
			<tr>
				<th>
					To:
				</th>
				<td>
					<asp:Label ID="toLabel" runat="server" />
				</td>
			</tr>
			<tr runat="server" id="ccRow" visible="false">
				<th>
					CC:
				</th>
				<td>
					<asp:Label ID="ccLabel" runat="server" />
				</td>
			</tr>
			<tr>
				<th>
					Recieved:
				</th>
				<td>
					<asp:Label ID="receivedLabel" runat="server" />
				</td>
			</tr>
			<tr>
				<th>
					Subject:
				</th>
				<td>
					<asp:Image runat="server" ID="highPriorityImage" ImageUrl="~/Images/imp-high.gif"
						CssClass="middle" Visible="false" />
					<asp:Image runat="server" ID="lowPriorityImage" ImageUrl="~/Images/imp-low.gif" Visible="false"
						CssClass="middle" />
					<asp:Image runat="server" ID="flaggedImage" ImageUrl="~/Images/icon-flag.gif" Visible="false"
						CssClass="middle" />
					<asp:Image runat="server" ID="completedImage" ImageUrl="~/Images/icon-flag-complete.gif"
						CssClass="middle" Visible="false" />
					<asp:Label ID="subjectLabel" runat="server" />
				</td>
			</tr>
			<tr runat="server" id="attachmentsRow" visible="false">
				<th>
					Attachments:
				</th>
				<td>
					<asp:DataList ID="attachmentsList" runat="server">
						<ItemTemplate>
							<asp:HyperLink runat="server" ID="attachmentLink" CssClass="attachmentLink" NavigateUrl='<%# string.Concat("~/ViewAttachment.aspx?path=", HttpUtility.UrlEncode(Eval("Href").ToString())) %>'><%# Eval("AttachmentFileName") %></asp:HyperLink>
						</ItemTemplate>
					</asp:DataList>
				</td>
			</tr>
		</table>
	</div>
	<div class="bodyDiv">
		<asp:Label ID="bodyLabel" runat="server" />
	</div>
</asp:Content>
